; Music of Turbo Out Run (1989) (Sega) (Uncle Art)
; Ripped by Megachur the 04/02/2007

	write "TURBOOUR.BIN"

music_date_rip	equ &0427
music_adr	equ &8600
first_theme	equ 1	; 1 -> 1 
last_theme	equ 1

	read "music_header_v1_0.asm"

.l8605 equ $ + 1
.l8604
db #01,#00
;
.play_music
;
	ld ix,l9622
	ld hl,l9634
	ld (l9616),hl
	ld a,#08
	ld (l9618),a
	ld a,#36
	ld (l9619),a
	ld a,(l8605)
	and a
	jr nz,l8623
	call l86ea
.l8623
	ld a,(la6f3)
	bit 0,a
	jr l863c
	ld a,#00
	ld (l8f57),a
	ld hl,l9634
	ld (l9616),hl
	ld ix,l9622
	call l86ea
.l863c
	ld a,(la6f3)
	bit 1,a
	jr l864e
	ld a,#03
	ld (l8f57),a
	ld ix,l9634
	jr l8652
.l864e
	ld ix,l9624
.l8652
	ld hl,l964d
	ld (l9616),hl
	ld a,#07
	ld (l9618),a
	ld a,#2d
	ld (l9619),a
	ld a,(l8605)
	and a
	jr nz,l866b
	call l86ea
.l866b
	ld a,(la6f3)
	bit 1,a
	jr l8684
	ld a,#00
	ld (l8f57),a
	ld hl,l9634
	ld (l9616),hl
	ld ix,l9624
	call l86ea
.l8684
	ld a,(l8605)
	and a
	jr nz,l86a1
	ld hl,l9666
	ld (l9616),hl
	ld ix,l9626
	ld a,#06
	ld (l9618),a
	ld a,#1b
	ld (l9619),a
	call l86ea
.l86a1
	ld a,#0a
	ld hl,l962c
	ld c,(hl)
	call la6f4
	ld a,#09
	dec hl
	ld c,(hl)
	call la6f4
	ld a,#08
	dec hl
	ld c,(hl)
	call la6f4
	ld a,#07
	dec hl
	ld c,(hl)
	call la6f4
	ld a,#05
	dec hl
	dec hl
	ld c,(hl)
	call la6f4
	ld a,#04
	dec hl
	ld c,(hl)
	call la6f4
	ld a,#03
	dec hl
	ld c,(hl)
	call la6f4
	ld a,#02
	dec hl
	ld c,(hl)
	call la6f4
	ld a,#01
	dec hl
	ld c,(hl)
	call la6f4
	xor a
	dec hl
	ld c,(hl)
	call la6f4
	ret
.l86ea
	ld a,(hl)
	ld e,a
	inc hl
	or (hl)
	jr z,l86fd
	dec a
	jr nc,l86f4
	dec (hl)
.l86f4
	dec hl
	ld (hl),a
	call l8f21
	call l8e74
	ret
.l86fd
	ld hl,(l9616)
	ld de,#0005
	add hl,de
	ld e,l
	ld d,h
	inc hl
	inc hl
	ldi
	ldi
	ld hl,(l9616)
	ld de,#0015
	add hl,de
	ld a,(hl)
	dec hl
	ld (hl),a
	ld hl,(l9616)
	inc hl
	inc hl
	ld c,(hl)
	inc hl
	ld b,(hl)
.l871e
	ld a,(bc)
	cp #00
	jr z,l8763
	cp #fe
	jr z,l8754
	inc hl
	sub (hl)
	ld e,a
	ld d,#00
	ld hl,l967f
	add hl,de
	ld a,(hl)
	ld (ix+#00),a
	inc hl
	ld a,(hl)
	ld (ix+#01),a
.l8739
	inc bc
	ld a,(bc)
	ld d,#00
	ld e,a
	ld hl,(l9614)
	add hl,de
	ld e,(hl)
	inc hl
	ld a,(hl)
	ld hl,(l9616)
	ld (hl),e
	inc hl
	ld (hl),a
	inc hl
	inc bc
	ld (hl),c
	inc hl
	ld (hl),b
	call l8f21
	ret
.l8754
	ld hl,(l9616)
	ld de,#0005
	add hl,de
	ld de,la6f0
	ld (hl),e
	inc hl
	ld (hl),d
	jr l8739
.l8763
	inc bc
	ld a,(bc)
	ld e,a
	ld d,#00
	ld hl,l876d
	add hl,de
	jp (hl)
.l876d
	nop
	nop
	nop
	jp l8788
	jp l87bc
	jp l87d9
	jp l8e04
	jp l8e2d
	jp l8e39
	jp l8e45
	jp l87bc
.l8788
	nop
.l8789
	ld hl,(l9616)
	ld de,#0009
	add hl,de
	ld e,(hl)
	inc hl
	ld d,(hl)
	inc de
	ld a,(de)
	and a
	jr z,l87ab
	dec de
	ld a,(de)
	ld c,a
	inc de
	ld a,(de)
	ld b,a
	inc de
	ld (hl),d
	dec hl
	ld (hl),e
	ld hl,(l9616)
	inc hl
	inc hl
	inc hl
	jp l871e
.l87ab
	ld hl,(l9616)
	ld de,#0009
	add hl,de
	ld e,l
	ld d,h
	inc hl
	inc hl
	ldi
	ldi
	jr l8789
.l87bc
	inc bc
	ld hl,(l9616)
	ld de,#0005
	add hl,de
	ld a,(bc)
	ld e,a
	ld (hl),a
	inc hl
	inc bc
	ld a,(bc)
	ld (hl),a
	inc hl
	ld (hl),e
	inc hl
	ld (hl),a
	inc bc
	ld hl,(l9616)
	inc hl
	inc hl
	inc hl
	jp l871e
.l87d9
	inc bc
	ld hl,(l9616)
	ld de,#000d
	add hl,de
	ld a,(bc)
	ld (hl),a
	inc bc
	inc hl
	ld a,(bc)
	ld (hl),a
	inc bc
	inc hl
	ld a,(bc)
	ld (hl),a
	inc bc
	inc hl
	ld a,(bc)
	ld (hl),a
	inc bc
	inc hl
	ld a,(bc)
	ld (hl),a
	inc bc
	inc hl
	ld a,(bc)
	ld (hl),a
	jp l8e23
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#05,#ff,#ff,#ff
	db #ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff
	db #ff,#fd,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#55,#aa,#00,#00,#55
	db #df,#aa,#00,#00,#00,#00,#00,#00
	db #55,#ff,#aa,#5f,#ff,#ff,#ff,#ff
	db #ff,#fd,#ff,#ff,#ff,#ff,#ff,#ff
	db #fe,#ff,#ff,#ff,#ff,#ff,#af,#fd
	db #0a,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#55,#cc,#cc,#cc,#ff,#ef
	db #8a,#cc,#cc,#ef,#cf,#00,#cc,#ff
	db #ff,#ef,#44,#ef,#8a,#5f,#ef,#df
	db #aa,#ff,#ef,#8a,#ff,#ef,#cf,#8a
	db #55,#cf,#aa,#54,#ff,#cf,#ff,#55
	db #ff,#0a,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#55,#ee,#ff,#ee,#ff,#cf,#8a
	db #55,#dd,#ff,#ff,#aa,#ff,#dd,#cf
	db #cf,#aa,#dd,#df,#aa,#ff,#ff,#df
	db #fe,#fd,#cf,#8a,#fc,#00,#45,#ef
	db #df,#ef,#df,#54,#fd,#ff,#cf,#8a
	db #fc,#fd,#0a,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #55,#ff,#ff,#ff,#aa,#55,#aa,#ff
	db #ff,#ff,#ff,#cf,#df,#8f,#00,#00
	db #aa,#5f,#ef,#cf,#55,#ff,#aa,#cf
	db #5f,#af,#05,#8a,#55,#ff,#ef,#cf
	db #05,#ff,#cf,#df,#cf,#cf,#cf,#8a
	db #55,#ff,#ff,#a0,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #54,#fc,#fc,#fc,#fc,#fc,#fc,#fc
	db #fc,#fc,#fc,#fc,#fc,#fc,#fc,#fc
	db #fc,#fc,#fc,#fc,#fc,#fc,#fc,#fc
	db #fc,#fc,#fc,#fc,#fc,#fc,#fc,#fc
	db #fc,#fc,#fc,#fc,#fc,#fc,#fc,#fc
	db #fc,#fc,#fc,#a0,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#88,#e0,#4c,#4c,#48,#a0,#88
	db #88,#e0,#88,#00,#c8,#a0,#88,#4c
	db #cc,#cc,#cc,#cc,#cc,#08,#cc,#cc
	db #cc,#cc,#48,#a0,#88,#88,#e0,#88
	db #00,#c8,#a0,#88,#88,#e0,#4c,#cc
	db #48,#a0,#88,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#20,#e0,#80,#00,#c0,#a0,#20
	db #20,#e0,#24,#00,#60,#a0,#20,#20
	db #e0,#24,#00,#00,#00,#00,#20,#e0
	db #18,#ba,#48,#a0,#20,#20,#e0,#20
	db #04,#60,#a0,#20,#20,#e0,#20,#00
	db #60,#a0,#20,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#c4,#cc,#cc,#cc,#80,#00
	db #04,#cc,#cc,#cc,#cc,#cc,#88,#04
	db #cc,#cc,#cc,#cc,#cc,#08,#4c,#cc
	db #08,#00,#4c,#cc,#08,#cc,#cc,#cc
	db #cc,#cc,#8c,#00,#4c,#cc,#08,#00
	db #4c,#cc,#08,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#c3,#00
	db #c3,#82,#41,#82,#00,#00,#82,#00
	db #82,#00,#82,#00,#82,#82,#00,#00
	db #82,#00,#82,#82,#41,#00,#82,#00
	db #82,#82,#82,#82,#82,#82,#41,#00
	db #82,#00,#82,#00,#82,#00,#00,#00
	db #82,#00,#41,#00,#82,#82,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#20,#20,#20,#00
	db #20,#00,#00,#00,#20,#20,#10,#00
	db #20,#00,#20,#20,#10,#00,#20,#00
	db #00,#00,#20,#20,#20,#00,#20,#00
	db #20,#00,#20,#20,#20,#20,#20,#00
	db #20,#20,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #8a,#8a,#8a,#8a,#8a,#8a,#8a,#8a
	db #8a,#8a,#8a,#00,#8a,#00,#8a,#8a
	db #00,#00,#8a,#8a,#8a,#8a,#00,#00
	db #45,#00,#8a,#00,#8a,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#a2,#a2,#a2,#a2
	db #a2,#a2,#a2,#00,#a2,#a2,#a2,#a2
	db #f3,#a2,#51,#00,#00,#00,#8a,#8a
	db #8a,#00,#8a,#8a,#8a,#8a,#00,#00
	db #8a,#00,#8a,#8a,#45,#00,#8a,#8a
	db #8a,#8a,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #c3,#82,#c3,#00,#c3,#82,#c3,#82
	db #82,#82,#c3,#82,#c3,#82,#c3,#82
	db #00,#00,#00,#00,#30,#20,#30,#20
	db #30,#20,#30,#00,#30,#00,#20,#20
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #aa,#aa,#aa,#aa,#ff,#aa,#ff,#aa
	db #ff,#aa,#00,#00,#00,#00,#a2,#a2
	db #f3,#a2,#f3,#a2,#a2,#00,#f3,#a2
	db #00,#00,#f3,#a2,#f3,#a2,#f3,#a2
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00
.l8e04
	ld a,#99
	ld hl,(l9616)
	ld de,#0013
	add hl,de
	ld (hl),a
	inc hl
	inc bc
	ld a,#01
	ld (hl),a
	inc hl
	inc bc
	ld (hl),a
	inc hl
	inc bc
	ld a,#01
	ld (hl),a
	inc hl
	inc bc
	ld (hl),a
	inc hl
	inc bc
	ld a,#01
	ld (hl),a
.l8e23
	inc bc
	ld hl,(l9616)
	inc hl
	inc hl
	inc hl
	jp l871e
.l8e2d
	ld hl,(l9616)
	ld de,#0013
	add hl,de
	ld (hl),#00
	jp l8e23
.l8e39
	ld hl,(l9616)
	ld de,#000d
	add hl,de
	ld (hl),#00
	jp l8e23
.l8e45
	push de
	ld e,c
	ld d,b
.l8e48
	inc de
	ld a,(de)
	cp #ff
	jr z,l8e5f
	cp #fe
	jp z,l8e66
	ld b,a
	inc de
	ld a,(de)
	ld c,a
	ld a,b
	push de
	call la6f4
	pop de
	jr l8e48
.l8e5f
	ld c,e
	ld b,d
	pop de
	inc bc
	jp l8e23
.l8e66
	ld c,e
	ld b,d
	pop de
	ld hl,(l9616)
	inc hl
	inc hl
	inc bc
	inc bc
	ld (hl),c
	inc hl
	ld (hl),b
	ret
.l8e74
	ld hl,(l9616)
	ld de,#000d
	add hl,de
	ld a,(hl)
	and a
	jp z,l8eda
	inc hl
	cp #02
	jr z,l8eaf
	ld e,(hl)
	ld a,(ix+#00)
	sub e
	jr nc,l8e8f
	dec (ix+#01)
.l8e8f
	ld (ix+#00),a
	inc hl
	ld d,(hl)
	inc hl
	ld a,(hl)
	ld e,a
	cp (ix+#01)
	jr c,l8ead
	ld a,d
	cp (ix+#00)
	jr c,l8ead
	ld (ix+#01),e
	dec hl
	ld (ix+#00),d
	dec hl
	dec hl
	ld (hl),#00
.l8ead
	jr l8f20
.l8eaf
	ld e,(hl)
	ld a,(ix+#00)
	ld d,a
	add e
	jr nc,l8eba
	inc (ix+#01)
.l8eba
	ld (ix+#00),a
	inc hl
	ld d,(hl)
	inc hl
	ld a,(hl)
	ld e,a
	cp (ix+#01)
	jr nc,l8ed8
	ld a,d
	cp (ix+#00)
	jr nc,l8ed8
	ld (ix+#01),e
	dec hl
	ld (ix+#00),d
	dec hl
	dec hl
	ld (hl),#00
.l8ed8
	jr l8f20
.l8eda
	ld hl,(l9616)
	ld de,#0013
	add hl,de
	ld a,(hl)
	and a
	jr z,l8f20
	ld e,a
	ld b,h
	ld c,l
	inc hl
	ld a,#00
	cp (hl)
	jr z,l8ef2
	dec (hl)
	jp l8f20
.l8ef2
	inc hl
	inc hl
	ld a,(hl)
	dec a
	ld (hl),a
	jr nz,l8f20
	inc hl
	ld a,(hl)
	dec hl
	ld (hl),a
	rlc e
	jr c,l8f11
	inc hl
	ld a,(ix+#00)
	add (hl)
	ld (ix+#00),a
	jr nc,l8f1e
	inc (ix+#01)
	jp l8f1e
.l8f11
	inc hl
	ld a,(ix+#00)
	sub (hl)
	ld (ix+#00),a
	jr nc,l8f1e
	dec (ix+#01)
.l8f1e
	ld a,e
	ld (bc),a
.l8f20
	ret
.l8f21
	ld hl,(l9616)
	ld de,#0005
	add hl,de
	ld e,(hl)
	inc hl
	ld d,(hl)
	ld a,(l9618)
	ld (l8f39),a
	ld a,(de)
	cp #ff
	jr nz,l8f37
	ret
.l8f39 equ $ + 2
.l8f37
	ld (ix+#00),a
	inc de
	ld a,(l9629)
	ld b,a
	ld a,(l9619)
	push af
	and b
	ld b,a
	ld a,(de)
	ld c,a
	pop af
	rr a
	jr nc,l8f54
	rlc c
	rr a
	jr nc,l8f54
	rlc c
.l8f54
	ld a,c
	or b
.l8f57 equ $ + 1
	jr l8f58
.l8f58
	ld (l9629),a
	inc de
	ld (hl),d
	dec hl
	ld (hl),e
	ret
.l8f60
	ld a,#0d
	ld c,#00
.l8f64
	push af
	call la6f4
	pop af
	dec a
	and a
	jr z,l8f6f
	jr l8f64
.l8f6f
	ld a,#07
	ld c,#3f
	call la6f4
	call l8f80
.l8f79
	ld b,#4b
	ld hl,l9634
	jr l8f85
.l8f80
	ld b,#0d
	ld hl,l9622
.l8f85
	ld (hl),#00
	inc hl
	djnz l8f85
	ret
;
.real_init_music
;
	call l8f60
	call l8f79
	call l8f80
	ld hl,l8604
	ld a,(hl)
	add a
	add a
	add a
	ld e,a
	ld d,#00
	ld hl,l9604
	add hl,de
	ld a,(hl)
	ld (l963f),a
	inc hl
	ld a,(hl)
	ld (l9640),a
	inc hl
	ld a,(hl)
	ld (l9658),a
	inc hl
	ld a,(hl)
	ld (l9659),a
	inc hl
	ld a,(hl)
	ld (l9671),a
	inc hl
	ld a,(hl)
	ld (l9672),a
	inc hl
	ld a,(hl)
	ld (l9614),a
	inc hl
	ld a,(hl)
	ld (l9615),a
	ld de,l961d
	ld hl,l963d
	ld (hl),e
	inc hl
	ld (hl),d
	ld hl,l9656
	ld (hl),e
	inc hl
	ld (hl),d
	ld hl,l966f
	ld (hl),e
	inc hl
	ld (hl),d
	ld de,l961b
	ld hl,l9636
	ld (hl),e
	inc hl
	ld (hl),d
	ld hl,l964f
	ld (hl),e
	inc hl
	ld (hl),d
	ld hl,l9668
	ld (hl),e
	inc hl
	ld (hl),d
	ret
	ret
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#f5,#ff,#ff,#ff,#ff,#ff,#ff
	db #ff,#ff,#ff,#ff,#ff,#ef,#fd,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #f5,#aa,#00,#00,#ff,#df,#aa,#00
	db #00,#00,#00,#00,#00,#45,#cf,#0a
	db #ff,#cf,#df,#ef,#cf,#df,#ff,#cf
	db #cf,#ff,#ff,#ef,#df,#fe,#ff,#cf
	db #cf,#cf,#cf,#aa,#fd,#aa,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#f5
	db #cc,#cc,#cc,#ff,#cf,#8a,#cc,#dd
	db #cf,#cf,#00,#cc,#ff,#ff,#df,#44
	db #ef,#8a,#ff,#cf,#ff,#aa,#ff,#cf
	db #8a,#ff,#cf,#cf,#00,#f5,#cf,#aa
	db #55,#ff,#cf,#ff,#55,#ff,#aa,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#f5,#cc
	db #ee,#ee,#ef,#cf,#8a,#dd,#ff,#ff
	db #ff,#aa,#dd,#5f,#cf,#df,#0a,#5f
	db #ff,#af,#ff,#ef,#df,#fe,#fd,#cf
	db #8a,#fc,#ad,#0f,#cf,#ff,#ef,#ff
	db #54,#fd,#ef,#cf,#aa,#f4,#fd,#aa
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#55,#ff,#ff
	db #ff,#ff,#00,#aa,#ff,#ff,#ff,#ff
	db #5f,#df,#00,#00,#00,#00,#ff,#ef
	db #df,#55,#ff,#aa,#00,#05,#ff,#00
	db #0a,#55,#ff,#cf,#8a,#55,#af,#cf
	db #ef,#cf,#cf,#cf,#aa,#55,#ff,#ff
	db #a0,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#50,#fc,#c4
	db #cc,#cc,#cc,#d4,#fc,#4c,#cc,#5c
	db #fc,#4c,#cc,#5c,#4c,#cc,#cc,#cc
	db #cc,#cc,#5c,#cc,#cc,#cc,#cc,#cc
	db #8c,#fc,#4c,#cc,#5c,#fc,#4c,#cc
	db #5c,#cc,#cc,#cc,#cc,#cc,#8c,#f8
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#20,#e0
	db #80,#00,#c0,#a0,#20,#20,#e0,#20
	db #00,#60,#a0,#20,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#04,#c8
	db #a0,#20,#20,#e0,#20,#00,#60,#a0
	db #20,#20,#e0,#20,#04,#60,#a0,#20
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#88,#e0
	db #4c,#4c,#48,#a0,#88,#88,#e0,#4c
	db #cc,#48,#a0,#88,#88,#e0,#4c,#cc
	db #cc,#cc,#08,#88,#e0,#cc,#cc,#c8
	db #a0,#88,#88,#e0,#4c,#cc,#48,#a0
	db #88,#88,#e0,#88,#00,#c8,#a0,#88
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#82,#00,#82,#00,#00
	db #82,#00,#00,#82,#00,#82,#00,#82
	db #00,#82,#82,#00,#00,#82,#00,#82
	db #82,#41,#00,#82,#00,#82,#82,#82
	db #82,#82,#82,#41,#00,#82,#00,#82
	db #00,#82,#00,#00,#00,#82,#00,#41
	db #00,#82,#82,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#20,#20,#20,#00,#20,#00,#00
	db #00,#20,#20,#10,#00,#20,#00,#20
	db #20,#10,#00,#20,#00,#00,#00,#20
	db #20,#20,#00,#20,#00,#20,#00,#20
	db #20,#20,#20,#20,#00,#20,#20,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#8a,#8a,#8a
	db #8a,#8a,#8a,#8a,#8a,#8a,#8a,#8a
	db #00,#8a,#00,#8a,#8a,#00,#00,#8a
	db #8a,#8a,#8a,#00,#00,#45,#00,#8a
	db #00,#8a,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#a2,#a2,#a2,#a2,#a2,#a2,#a2
	db #00,#a2,#a2,#a2,#a2,#a2,#a2,#51
	db #00,#00,#00,#8a,#8a,#8a,#00,#8a
	db #8a,#8a,#8a,#00,#00,#8a,#00,#8a
	db #8a,#45,#00,#8a,#8a,#8a,#8a,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#82,#00,#82
	db #82,#82,#82,#82,#82,#82,#82,#41
	db #00,#82,#00,#82,#00,#41,#00,#00
	db #00,#20,#00,#20,#20,#20,#00,#20
	db #20,#20,#20,#20,#20,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#ff,#aa,#aa
	db #aa,#aa,#00,#55,#00,#aa,#00,#55
	db #00,#00,#00,#a2,#a2,#a2,#a2,#a2
	db #00,#a2,#00,#a2,#00,#00,#00,#a2
	db #a2,#a2,#a2,#51,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00
.l9604
	db #00,#00,#00,#00,#00,#00,#00,#00
	dw la72e,la736,la742,la604
.l9615 equ $ + 1
.l9614
	dw la604
.l961d equ $ + 7
.l961b equ $ + 5
.l9619 equ $ + 3
.l9618 equ $ + 2
.l9616
	db #00,#00,#00,#00,#00,#00,#03,#00
	db #00,#00,#00,#00
.l9629 equ $ + 7
.l9626 equ $ + 4
.l9624 equ $ + 2
.l9622
	db #00,#00,#00,#00,#00,#00,#00,#00
.l962c equ $ + 2
	db #00,#00,#00,#00,#00,#00,#00,#08
.l9634 equ $ + 2
	db #09,#0a,#00,#00
.l9636
	dw l961b
	db #00,#00,#00,#00,#00
.l9640 equ $ + 3
.l963f equ $ + 2
.l963d
	dw l961d,la72e
	db #00,#00,#00,#00,#00,#00,#00,#00
.l964d equ $ + 4
	db #00,#00,#00,#00,#00,#00
.l964f
	dw l961b
	db #00,#00,#00,#00,#00
.l9659 equ $ + 3
.l9658 equ $ + 2
.l9656
	dw l961d,la736
	db #00,#00,#00,#00,#00,#00,#00,#00
.l9666 equ $ + 4
	db #00,#00,#00,#00,#00,#00
.l9668
	dw l961b
	db #00,#00,#00,#00,#00
.l9672 equ $ + 3
.l9671 equ $ + 2
.l966f
	dw l961d,la742
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00
	db #00
.l967f
	dw #0010,#0011,#0012,#0013
	dw #0014,#0015,#0016,#0018
	dw #0019,#001b,#00d0,#001e
	dw #0020,#0022,#0024,#0026
	dw #0028,#002a,#002d,#002f
	dw #0032,#0035,#0038,#003c
	dw #003f,#0043,#0047,#004b
	dw #0050,#0054,#0059,#005f
	dw #0064,#006a,#0071,#0077
	dw #007f,#0086,#008e,#0096
	dw #009f,#00a9,#00b3,#00be
	dw #00c9,#00d5,#00e1,#00ef
	dw #00fd,#010c,#0120,#012d
	dw #013f,#0152,#0166,#017b
	dw #0192,#01aa,#01c3,#01de
	dw #01fa,#0218,#0238,#025a
	dw #027e,#02a4,#02cc,#02f6
	dw #0324,#0353,#0386,#03bc
	dw #03f4,#0431,#0470,#04b4
	dw #04fc,#0547,#0598,#05ed
	dw #0647,#06a7,#070c,#0777
	dw #07e9,#0861,#08e1,#0968
	dw #09f7,#0a8f,#0b2f,#0bda
	dw #0c8e,#0d4d,#0e18,#0eee
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#5f
	db #ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff
	db #ff,#ff,#ff,#aa,#fd,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#5f,#cc
	db #ee,#cc,#ff,#ff,#aa,#ff,#dd,#ff
	db #ff,#ff,#af,#ef,#ff,#00,#ff,#df
	db #ef,#cf,#cf,#df,#55,#cf,#ff,#ff
	db #ef,#cf,#df,#5e,#ef,#cf,#cf,#cf
	db #cf,#aa,#55,#aa,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#5f,#cc,#cc
	db #cc,#ef,#cf,#8a,#cc,#dd,#cf,#df
	db #44,#cc,#ff,#ef,#8f,#8d,#ef,#8a
	db #ff,#df,#ff,#55,#ff,#cf,#8a,#ef
	db #cf,#df,#00,#ff,#ff,#aa,#55,#ff
	db #df,#ff,#0f,#ff,#aa,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#5f,#cc,#cc,#cc
	db #ef,#cf,#00,#4e,#ff,#ff,#ff,#aa
	db #55,#ff,#df,#cf,#00,#ff,#ff,#0f
	db #00,#ef,#cf,#fe,#fd,#cf,#8a,#fc
	db #fc,#ff,#ff,#af,#ff,#ff,#05,#ff
	db #ef,#ff,#8a,#54,#fc,#aa,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#55,#ff,#ff,#ff,#ff
	db #aa,#00,#ff,#ff,#ff,#ff,#00,#00
	db #00,#5f,#00,#00,#ff,#aa,#00,#55
	db #ff,#aa,#00,#00,#ff,#0a,#00,#a0
	db #00,#00,#00,#55,#aa,#00,#00,#00
	db #00,#00,#00,#55,#ff,#ff,#a0,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#50,#8c,#18,#ba
	db #0c,#d8,#f0,#d8,#e0,#d8,#f0,#c8
	db #f0,#d8,#d8,#e0,#18,#ba,#48,#f0
	db #d8,#d8,#e0,#18,#ba,#48,#e4,#58
	db #d8,#e0,#d8,#f0,#c8,#f0,#d8,#d8
	db #e0,#18,#ba,#48,#e4,#08,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#20,#e0,#00,#00
	db #40,#a0,#20,#20,#e0,#20,#00,#60
	db #a0,#20,#cc,#cc,#88,#00,#00,#00
	db #00,#cc,#cc,#cc,#cc,#48,#a0,#88
	db #20,#e0,#20,#00,#60,#a0,#20,#20
	db #e0,#20,#00,#60,#a0,#20,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#8c,#e0,#18,#ba
	db #48,#a4,#88,#88,#e0,#18,#ba,#48
	db #a0,#88,#88,#e0,#18,#ba,#48,#a0
	db #88,#88,#e0,#88,#00,#c8,#a0,#88
	db #88,#e0,#18,#ba,#48,#a0,#88,#88
	db #e0,#88,#00,#c8,#a0,#88,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#a8,#00,#a8,#00,#00,#a8,#00
	db #00,#fc,#a8,#fc,#00,#a8,#a8,#fc
	db #a8,#00,#00,#fc,#00,#a8,#a8,#54
	db #00,#fc,#00,#fc,#00,#fc,#a8,#fc
	db #00,#54,#00,#fc,#a8,#fc,#00,#fc
	db #a8,#00,#00,#a8,#00,#54,#00,#a8
	db #a8,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#cc
	db #88,#88,#00,#88,#00,#00,#00,#cc
	db #00,#44,#00,#88,#88,#cc,#88,#44
	db #00,#cc,#88,#00,#00,#cc,#00,#cc
	db #00,#cc,#88,#cc,#00,#cc,#00,#88
	db #88,#cc,#00,#88,#88,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#ff,#aa,#ff,#00,#aa
	db #aa,#aa,#aa,#aa,#aa,#aa,#00,#ff
	db #00,#aa,#aa,#00,#00,#ff,#00,#ff
	db #aa,#00,#00,#55,#00,#aa,#00,#ff
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#3f
	db #2a,#3f,#00,#2a,#2a,#2a,#2a,#3f
	db #00,#3f,#2a,#2a,#2a,#00,#00,#00
	db #00,#c3,#82,#82,#00,#c3,#82,#82
	db #82,#00,#00,#82,#00,#c3,#82,#41
	db #00,#c3,#00,#82,#82,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #15,#00,#15,#15,#3f,#15,#3f,#15
	db #15,#00,#00,#00,#00,#8a,#cf,#8a
	db #8a,#8a,#cf,#8a,#00,#00,#cf,#8a
	db #cf,#8a,#cf,#8a,#8a,#8a,#cf,#8a
	db #cf,#8a,#cf,#8a,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#82,#00,#82,#82,#82
	db #82,#82,#82,#82,#82,#41,#00,#82
	db #00,#82,#00,#41,#00,#00,#00,#20
	db #00,#20,#20,#20,#00,#20,#20,#20
	db #20,#20,#20,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#aa,#aa,#aa,#aa,#aa
	db #00,#55,#00,#aa,#00,#55,#00,#00
	db #00,#a2,#a2,#a2,#a2,#a2,#00,#a2
	db #00,#a2,#00,#00,#00,#a2,#a2,#a2
	db #a2,#51,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00
	push af
	ld a,#ff
	ld bc,#fbee
	out (c),a
	out (c),a
	inc c
	out (c),a
	ld c,#ed
	out (c),a
	ld c,#ef
	ld a,#3f
	out (c),a
	inc a
	ld (l9e40),a
	pop af
.l9e1c
	di
	ld (l9f70),hl
	ld (l9f74),sp
	pop hl
	ld (l9f72),hl
	ld sp,l9f70
	push de
	push bc
	exx
	push hl
	push de
	push bc
	push ix
	push iy
	push af
	ld a,i
	ld h,a
	ld a,r
	ld l,a
	push hl
	ex af,af'
	push af
.l9e40 equ $ + 1
	ld d,#40
.l9e41
	call l9f2d
	ld a,e
	cp #b4
	jr z,l9e78
	cp #ba
	jp z,l9ef3
	cp #b8
	jp z,l9e9e
	cp #b9
	jp z,l9ea6
	cp #b7
	jr z,l9e94
	cp #b6
	jr z,l9eae
	cp #b5
	jr nz,l9e41
	call l9f2d
	ld h,e
	call l9f2d
	ld l,e
	ld (l9f28),hl
	ld hl,#cd00
	ld (l9f26),hl
	jp l9f09
.l9e78
	call l9f2d
	ld h,e
	call l9f2d
	ld l,e
	call l9f2d
	ld b,e
	call l9f2d
	ld c,e
.l9e88
	call l9f2d
	ld (hl),e
	inc hl
	dec bc
	ld a,b
	or c
	jr nz,l9e88
	jr l9e41
.l9e94
	call l9f2d
	ld b,#7f
	ld c,e
	out (c),c
	jr l9e41
.l9e9e
	ld hl,l9f5c
	ld bc,#001a
	jr l9ebe
.l9ea6
	ld hl,l9f5c
	ld bc,#001a
	jr l9e88
.l9eae
	call l9f2d
	ld h,e
	call l9f2d
	ld l,e
	call l9f2d
	ld b,e
	call l9f2d
	ld c,e
.l9ebe
	push bc
	ld bc,#fbed
.l9ec2
	in a,(c)
	xor d
	rrca
	jr c,l9ec2
	inc c
	ld a,#ff
	out (c),a
	inc a
	out (c),a
	ld a,d
	xor #41
	ld d,a
	pop bc
.l9ed5
	ld a,(hl)
	call l9f43
	inc hl
	dec bc
	ld a,b
	or c
	jr nz,l9ed5
	dec a
	ld bc,#fbee
	out (c),a
	out (c),a
	dec c
	ld a,d
	xor #40
	out (c),a
	xor #80
	ld d,a
	jp l9e41
.l9ef3
	call l9f2d
	ld l,e
	call l9f2d
	ld h,e
	ld (l9f26),hl
	call l9f2d
	ld l,e
	call l9f2d
	ld h,e
	ld (l9f28),hl
.l9f09
	ld a,d
	ld (l9e40),a
	pop af
	ex af,af'
	pop hl
	ld a,h
	ld i,a
	ld a,l
	ld r,a
	pop af
	pop iy
	pop ix
	pop bc
	pop de
	pop hl
	exx
	pop bc
	pop de
	pop hl
	ld sp,(l9f74)
.l9f26
	nop
	nop
.l9f28
	nop
	nop
	jp l9e1c
.l9f2d
	push bc
	ld bc,#fbed
.l9f31
	in a,(c)
	xor d
	rrca
	jr c,l9f31
	dec c
	in e,(c)
	inc c
	ld a,d
	out (c),a
	xor #81
	ld d,a
	pop bc
	ret
.l9f43
	push bc
	ld bc,#fbec
	out (c),a
	inc c
	ld a,d
	out (c),a
	xor #81
	ld d,a
.l9f50
	in a,(c)
	xor d
	rrca
	jr nc,l9f50
	pop bc
	ret
.l9f5c equ $ + 4
	db #a9,#20,#d9,#9e,#8c,#8d,#2a,#00
	db #88,#ff,#00,#00,#00,#ff,#8d,#7f
	db #00,#9e,#d9,#b8,#ef,#fb,#40,#00
.l9f74 equ $ + 4
.l9f72 equ $ + 2
.l9f70
	db #ff,#ab,#a2,#b9,#fa,#bf,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#ff
	db #ef,#cf,#cf,#cf,#ef,#cf,#ff,#ff
	db #ff,#cf,#cf,#8a,#dd,#ff,#ff,#ff
	db #ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff
	db #ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff
	db #ff,#ff,#0a,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#ff,#dd
	db #ff,#cc,#ff,#ff,#44,#ff,#dd,#ff
	db #ff,#55,#dd,#ff,#ff,#44,#ff,#df
	db #cf,#cf,#cf,#8f,#55,#df,#ff,#ff
	db #cf,#cf,#ff,#54,#ef,#cf,#cf,#cf
	db #df,#aa,#54,#fa,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#ff,#cc,#cc
	db #dd,#ef,#cf,#aa,#cc,#dd,#cf,#ff
	db #44,#cc,#ff,#ef,#8a,#dd,#cf,#8a
	db #ff,#ff,#aa,#55,#ff,#cf,#aa,#ef
	db #cf,#df,#5f,#ff,#ff,#aa,#55,#ff
	db #ff,#ff,#aa,#ff,#fa,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#ff,#ee,#cc,#dd
	db #ef,#cf,#00,#cc,#dd,#ff,#ff,#cf
	db #df,#ef,#ef,#df,#05,#ff,#ff,#55
	db #0a,#45,#cf,#fe,#fd,#cf,#df,#ff
	db #ff,#ff,#ff,#aa,#ff,#ff,#55,#ff
	db #cf,#ef,#8a,#54,#fd,#fa,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#55,#af,#fc,#fc,#fc
	db #f8,#00,#fc,#fc,#fc,#f8,#00,#00
	db #00,#fc,#f8,#00,#fd,#0a,#00,#54
	db #fc,#a8,#00,#f4,#fc,#f8,#00,#a8
	db #00,#00,#00,#54,#a8,#00,#00,#00
	db #00,#00,#00,#fc,#ad,#ff,#a0,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#04,#c8,#18,#ba
	db #48,#8c,#00,#88,#e0,#88,#00,#c8
	db #a0,#88,#88,#e0,#18,#ba,#48,#a0
	db #88,#88,#e0,#18,#ba,#48,#a0,#88
	db #88,#e0,#88,#00,#c8,#a0,#88,#88
	db #e0,#18,#ba,#48,#a0,#88,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#aa,#e0,#00,#00
	db #40,#a0,#aa,#aa,#e0,#aa,#00,#ea
	db #a0,#aa,#20,#e0,#20,#00,#00,#00
	db #00,#20,#e0,#18,#ba,#48,#a4,#88
	db #aa,#e0,#aa,#00,#ea,#a0,#aa,#aa
	db #e0,#aa,#00,#ea,#a0,#aa,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#4c,#e0,#18,#ba
	db #48,#e4,#08,#88,#e0,#18,#ba,#48
	db #a0,#88,#88,#e0,#18,#ba,#48,#a0
	db #88,#88,#e0,#88,#00,#c8,#a0,#88
	db #88,#e0,#18,#ba,#48,#a0,#88,#88
	db #e0,#88,#00,#c8,#a0,#88,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#a8,#00,#a8,#00,#00,#a8,#00
	db #00,#00,#a8,#a8,#00,#a8,#a8,#a8
	db #a8,#00,#00,#a8,#00,#a8,#a8,#54
	db #00,#a8,#00,#a8,#a8,#a8,#00,#a8
	db #a8,#54,#00,#00,#a8,#a8,#00,#00
	db #a8,#00,#00,#a8,#00,#54,#00,#a8
	db #a8,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#88
	db #88,#88,#00,#88,#00,#00,#00,#88
	db #88,#44,#00,#88,#88,#88,#88,#44
	db #00,#00,#88,#00,#00,#88,#88,#88
	db #00,#00,#88,#88,#00,#88,#88,#88
	db #88,#88,#00,#88,#88,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#aa,#00,#aa,#aa,#aa
	db #aa,#aa,#aa,#aa,#aa,#aa,#00,#aa
	db #00,#aa,#aa,#00,#00,#aa,#aa,#55
	db #00,#00,#00,#55,#00,#aa,#00,#aa
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#2a
	db #00,#2a,#2a,#2a,#2a,#2a,#2a,#2a
	db #2a,#2a,#2a,#2a,#2a,#15,#00,#00
	db #00,#82,#82,#82,#00,#82,#82,#82
	db #82,#00,#00,#82,#00,#82,#82,#41
	db #00,#82,#82,#82,#82,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #15,#00,#15,#00,#2a,#00,#2a,#15
	db #15,#15,#00,#00,#00,#8a,#8a,#8a
	db #8a,#8a,#8a,#8a,#00,#00,#8a,#8a
	db #8a,#8a,#8a,#8a,#8a,#8a,#45,#00
	db #8a,#00,#8a,#8a,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#a8,#a8,#fc,#00,#fc
	db #a8,#fc,#a8,#fc,#a8,#54,#00,#a8
	db #00,#fc,#a8,#00,#00,#00,#00,#cc
	db #00,#cc,#00,#cc,#00,#88,#88,#88
	db #88,#cc,#88,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00
	dw #0000
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#20,#20,#20
	db #20,#30,#20,#10,#00,#20,#00,#00
	db #00,#00,#00,#2a,#2a,#2a,#2a,#2a
	db #00,#2a,#00,#3f,#00,#00,#00,#3f
	db #2a,#3f,#00,#15,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
.la604 equ $ + 7
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#03,#00,#07,#00,#0b,#00,#0f
	db #00,#13,#00,#17,#00,#1b,#00,#1f
	db #00,#23,#00,#27,#00,#2b,#00,#2f
	db #00,#33,#00,#37,#00,#3b,#00,#3f
	db #00,#43,#00,#47,#00,#4b,#00,#4f
	db #00,#53,#00,#57,#00,#5b,#00,#5f
	db #00,#63,#00,#67,#00,#6b,#00,#6f
	db #00,#73,#00,#77,#00,#7b,#00,#7f
	db #00,#83,#00,#87,#00,#8b,#00,#8f
	db #00,#93,#00,#97,#00,#9b,#00,#9f
	db #00,#a3,#00,#93,#00,#ab,#00,#af
	db #00,#b3,#00,#b7,#00,#bb,#00,#bf
	db #00,#c3,#00,#c7,#00,#cb,#00,#cf
	db #00,#d3,#00,#d7,#00,#db,#00,#df
	db #00,#e3,#00,#e7,#00,#eb,#00,#ef
	db #00,#f3,#00,#f7,#00,#fb,#00,#ff
	db #00,#03,#01,#07,#01,#f7,#00,#0f
	db #01,#13,#01,#17,#01,#1b,#01,#1f
	db #01,#23,#01,#27,#01,#2b,#01,#2f
	db #01,#33,#01,#37,#01,#3b,#01,#3f
	db #01,#43,#01,#47,#01,#4b,#01,#4f
	db #01,#53,#01,#57,#01,#5b,#01,#5f
	db #01,#63,#01,#67,#01,#6b,#01,#5b
	db #01,#73,#01,#77,#01,#7b,#01,#7f
	db #01,#83,#01,#87,#01,#8b,#01,#8f
	db #01,#93,#01,#97,#01,#9b,#01,#9f
	db #01,#a3,#01,#a7,#01,#ab,#01,#02
	db #00,#01,#00,#04,#00,#05,#00,#0a
	db #00,#09,#00,#04,#00,#0a,#00,#14
.la6f3 equ $ + 6
.la6f0 equ $ + 3
	db #00,#01,#00,#00,#00,#ff,#00
.la6f4
	push bc
	ld bc,#f782
	out (c),c
	pop bc
	cp #07
	jr nz,la712
	bit 6,c
	jr z,la712
	xor a
	ld (l8605),a
	ld a,#ff
	ld (l13fd),a	; modified by Megachur
	ld a,#07
	res 6,c
	res 7,c
.la712
	ld d,a
	ld e,c
	push af
	ld b,#f4
	out (c),d
	ld bc,#f6c0
	out (c),c
	xor a
	out (c),a
	ld b,#f4
	out (c),e
	ld bc,#f680
	out (c),c
	out (c),a
	pop af
	ret
.la72e
	dw laec6,laef4,laf24,#0000
.la736
	dw la74c,la74c,la7aa,lae04
.la742 equ $ + 4
	dw lae76,#0000,lb604,lb6ab
.la74c equ $ + 6
	dw lb6ab,lb6b9,#0000,#0600
	dw lb6fc
	db #80,#08,#80,#08,#8a,#08,#8a,#04
	db #80,#08,#80,#08,#80,#04,#8a,#04
	db #8a,#04,#80,#04,#8a,#04,#84,#08
	db #84,#08,#8e,#08,#8e,#04,#84,#08
	db #84,#08,#84,#04,#8e,#04,#8e,#04
	db #84,#04,#8e,#04,#86,#08,#86,#08
	db #86,#08,#86,#04,#86,#08,#86,#08
	db #86,#04,#80,#04,#86,#04,#80,#04
	db #7c,#04,#8a,#08,#8a,#08,#8a,#04
	db #82,#08,#8a,#04,#7c,#08,#8a,#04
	db #76,#08,#8a,#04,#72,#04,#76,#04
.la7aa equ $ + 2
	db #00,#03,#88,#08,#88,#08,#88,#08
	db #88,#04,#80,#08,#88,#04,#7a,#04
	db #88,#08,#88,#04,#70,#04,#88,#04
	db #00,#03,#00,#00,#00,#00,#ff,#ff
	db #00,#00,#00,#00,#00,#20,#ff,#ff
	db #00,#00,#00,#00,#ff,#ff,#ff,#ff
	db #00,#00,#00,#00,#ff,#ff,#ff,#ff
	db #00,#00,#00,#00,#9f,#6b,#cd,#2d
	db #9f,#63,#22,#28,#9f,#7a,#32,#40
	db #9e,#f1,#08,#e1,#7c,#ed,#47,#7d
	db #ed,#4f,#f1,#fd,#e1,#dd,#e1,#c1
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#ff,#cf
	db #cf,#cf,#df,#ef,#cf,#ff,#ff,#ef
	db #cf,#cf,#8a,#dd,#ff,#ff,#ff,#ff
	db #ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff
	db #ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff
	db #ff,#fa,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#ff,#dd,#ee
	db #dd,#ff,#ff,#55,#ee,#ff,#ff,#ff
	db #55,#dd,#ff,#ff,#55,#ff,#ef,#cf
	db #cf,#cf,#ff,#55,#ff,#ff,#ef,#cf
	db #df,#ef,#55,#ef,#cf,#cf,#cf,#ff
	db #af,#54,#af,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#ff,#dd,#cc,#dd
	db #ef,#cf,#44,#cc,#dd,#df,#aa,#44
	db #cc,#ff,#cf,#8a,#dd,#cf,#8a,#ff
	db #ff,#00,#5f,#ff,#df,#aa,#ef,#cf
	db #cf,#ff,#ff,#ff,#8a,#55,#ff,#ff
	db #ff,#aa,#ff,#af,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#ff,#ff,#ff,#ff,#ef
	db #cf,#55,#ff,#ff,#ff,#ef,#cf,#cf
	db #cf,#cf,#ff,#55,#ff,#ff,#55,#af
	db #11,#df,#ff,#ff,#cf,#8a,#ff,#ff
	db #ff,#ff,#aa,#ff,#ff,#ff,#ef,#df
	db #cf,#8f,#55,#ff,#af,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#05,#ff,#0f,#0f,#0f,#0f
	db #0f,#0f,#0f,#0f,#0f,#0f,#0f,#0f
	db #0f,#0f,#0f,#0f,#0f,#0f,#0f,#0f
	db #0f,#0f,#0f,#0f,#0f,#0f,#0f,#0f
	db #0f,#0f,#0f,#0f,#0f,#0f,#0f,#0f
	db #0f,#0f,#0f,#5f,#af,#a8,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#44,#48,#18,#ba,#48
	db #4c,#00,#88,#e0,#88,#00,#c8,#a0
	db #88,#88,#e0,#18,#ba,#48,#a0,#88
	db #88,#e0,#18,#ba,#48,#a0,#88,#88
	db #e0,#88,#00,#c8,#a0,#88,#88,#e0
	db #18,#ba,#48,#a0,#88,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#aa,#e0,#00,#00,#40
	db #a0,#aa,#aa,#e0,#aa,#00,#ea,#a0
	db #aa,#aa,#e0,#aa,#00,#00,#00,#00
	db #aa,#e0,#18,#ba,#48,#4c,#80,#aa
	db #e0,#aa,#00,#ea,#a0,#aa,#aa,#e0
	db #aa,#00,#ea,#a0,#aa,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#44,#e0,#18,#ba,#48
	db #e4,#00,#88,#e0,#18,#ba,#48,#a0
	db #88,#88,#e0,#18,#ba,#48,#a0,#88
	db #88,#e0,#88,#00,#c8,#a0,#88,#88
	db #e0,#18,#ba,#48,#a0,#88,#88,#e0
	db #88,#00,#c8,#a0,#88,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #fc,#00,#fc,#a8,#54,#a8,#00,#00
	db #00,#a8,#a8,#00,#a8,#a8,#a8,#a8
	db #00,#00,#a8,#00,#a8,#a8,#54,#00
	db #a8,#00,#a8,#a8,#a8,#00,#a8,#a8
	db #54,#00,#00,#a8,#a8,#00,#00,#a8
	db #00,#00,#a8,#00,#54,#00,#a8,#a8
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#88,#88
	db #88,#00,#88,#00,#00,#00,#88,#88
	db #44,#00,#88,#88,#88,#88,#44,#00
	db #00,#88,#00,#00,#88,#88,#88,#00
	db #00,#88,#88,#00,#88,#88,#88,#88
	db #88,#00,#88,#88,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#aa,#00,#aa,#aa,#aa,#aa
	db #aa,#aa,#aa,#aa,#aa,#00,#aa,#00
	db #aa,#aa,#00,#00,#aa,#aa,#55,#00
	db #00,#00,#55,#00,#aa,#00,#aa,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#2a,#00
	db #2a,#2a,#2a,#2a,#2a,#2a,#2a,#2a
	db #2a,#2a,#2a,#2a,#15,#00,#00,#00
	db #82,#82,#82,#00,#82,#82,#82,#82
	db #00,#00,#82,#00,#82,#82,#41,#00
	db #82,#82,#82,#82,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#01
	db #01,#01,#00,#02,#00,#02,#01,#03
	db #00,#00,#00,#00,#82,#82,#82,#c3
	db #82,#82,#82,#00,#00,#c3,#82,#c3
	db #82,#82,#82,#c3,#00,#41,#00,#c3
	db #00,#c3,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#a8,#a8,#a8,#a8,#a8,#a8
	db #a8,#00,#a8,#a8,#54,#00,#a8,#00
	db #00,#a8,#54,#00,#00,#00,#88,#00
	db #88,#88,#88,#00,#88,#88,#88,#88
	db #44,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#20,#20,#20,#20,#00,#20
	db #10,#00,#20,#00,#10,#00,#00,#00
	db #2a,#2a,#2a,#2a,#2a,#00,#2a,#00
	db #2a,#00,#00,#00,#2a,#2a,#2a,#2a
	db #15,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
.lae04 equ $ + 4
	db #05,#05,#05,#05,#8a,#08,#a2,#08
	db #a2,#08,#a2,#04,#8a,#08,#8a,#08
	db #8a,#04,#8a,#08,#fe,#08,#88,#08
	db #88,#08,#88,#08,#92,#04,#88,#08
	db #88,#08,#88,#04,#92,#04,#92,#04
	db #88,#04,#92,#04,#8a,#08,#8a,#08
	db #8a,#04,#a2,#08,#a2,#08,#a2,#04
	db #8a,#04,#a2,#04,#9a,#04,#a2,#04
	db #9a,#04,#a2,#04,#88,#08,#88,#08
	db #88,#08,#92,#04,#88,#08,#88,#08
	db #88,#04,#92,#04,#92,#04,#88,#04
	db #92,#04,#8a,#08,#8a,#08,#8a,#04
	db #a2,#08,#a2,#04,#94,#04,#a2,#04
	db #94,#04,#a2,#04,#8a,#04,#a2,#04
.lae76 equ $ + 6
	db #9a,#04,#a2,#04,#00,#03,#88,#08
	db #88,#08,#88,#08,#92,#04,#92,#04
	db #70,#04,#7a,#08,#7a,#04,#70,#04
	db #7a,#04,#70,#04,#7a,#04,#72,#08
	db #72,#08,#72,#04,#8a,#08,#8a,#08
	db #8a,#04,#82,#04,#8a,#04,#78,#08
	db #8a,#04,#82,#04,#80,#08,#80,#08
	db #fe,#04,#80,#04,#fe,#08,#80,#08
	db #fe,#10,#8a,#04,#82,#04,#80,#08
	db #80,#08,#fe,#04,#80,#08,#fe,#04
.laec6 equ $ + 6
	db #80,#08,#fe,#18,#00,#03,#00,#06
	db #ed,#b6,#00,#09,#02,#c8,#4d,#0d
	db #00,#00,#6e,#02,#00,#06,#5d,#b7
	db #72,#02,#72,#02,#72,#02,#00,#06
	db #3e,#b7,#00,#09,#02,#45,#4d,#0d
	db #00,#00,#76,#04,#00,#06,#5d,#b7
.laef4 equ $ + 4
	db #72,#02,#72,#02,#00,#06,#ed,#b6
	db #00,#09,#02,#c8,#4d,#0d,#00,#00
	db #6e,#02,#00,#06,#5d,#b7,#72,#02
	db #72,#02,#72,#02,#00,#06,#3e,#b7
	db #00,#09,#02,#45,#4d,#0d,#00,#00
	db #76,#04,#00,#06,#5d,#b7,#72,#02
.laf24 equ $ + 4
	db #72,#02,#00,#03,#00,#06,#ed,#b6
	db #00,#09,#02,#c8,#4d,#0d,#00,#00
	db #6e,#04,#00,#06,#3e,#b7,#00,#09
	db #02,#45,#4d,#0d,#00,#00,#76,#04
	db #00,#06,#ed,#b6,#00,#09,#02,#c8
	db #4d,#0d,#00,#00,#6e,#04,#00,#06
	db #3e,#b7,#00,#09,#02,#45,#4d,#0d
	db #00,#00,#76,#04,#00,#03,#00,#00
	db #ff,#ff,#ff,#ff,#00,#00,#00,#00
	db #ff,#ff,#ff,#ff,#e3,#eb,#00,#00
	db #ff,#ff,#ff,#ff,#00,#00,#00,#00
	db #ff,#ff,#ff,#ff,#e0,#e2,#e0,#e0
	db #00,#00,#00,#00,#ff,#ff,#ff,#ff
	db #00,#00,#00,#00,#ff,#ff,#ff,#ff
	db #00,#00,#00,#00,#ff,#ff,#ff,#ff
	db #00,#00,#00,#00,#ff,#ff,#ff,#ff
	db #00,#00,#00,#00,#ff,#ff,#ff,#ff
	db #00,#00,#00,#00,#ff,#ff,#ff,#ff
	db #00,#00,#00,#00,#ff,#ff,#ff,#ff
	db #00,#00,#00,#00,#ff,#ff,#ff,#ff
	db #40,#50,#00,#00,#00,#00,#ff,#ff
	db #00,#00,#00,#00,#00,#20,#ff,#ff
	db #00,#00,#00,#00,#ff,#ff,#ff,#ff
	db #00,#00,#00,#00,#ff,#ff,#ff,#ff
	db #00,#00,#00,#00,#ff,#ff,#ff,#ff
	db #00,#00,#00,#00,#00,#00,#ff,#ff
	db #00,#00,#00,#00,#ef,#ef,#ff,#ff
	db #00,#00,#00,#00,#00,#00,#20,#20
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#50,#ff,#cf
	db #cf,#cf,#ef,#cf,#ff,#ff,#ef,#cf
	db #cf,#cf,#ee,#cc,#cc,#cc,#cc,#dc
	db #fc,#fc,#fc,#fc,#fc,#fc,#fc,#fc
	db #fc,#fc,#fc,#fc,#fc,#fc,#fc,#fc
	db #fd,#af,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#50,#ee,#dd,#dd
	db #dd,#ff,#ff,#55,#ff,#ff,#cf,#8a
	db #dd,#dd,#ff,#ff,#55,#ff,#ef,#cf
	db #cf,#df,#df,#55,#ff,#aa,#00,#00
	db #ff,#cf,#55,#cf,#cf,#cf,#df,#ff
	db #df,#54,#ff,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#50,#ee,#dd,#cc,#dd
	db #cf,#cf,#55,#cc,#ff,#ff,#aa,#dd
	db #cc,#ef,#cf,#8a,#dd,#cf,#8a,#ff
	db #ff,#ff,#ff,#ff,#ef,#8a,#aa,#ef
	db #cf,#cf,#ff,#ef,#8a,#55,#ff,#ff
	db #ff,#8a,#fc,#ff,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#ff,#ff,#ff,#ff,#ef
	db #df,#55,#ff,#ff,#ff,#cf,#cf,#cf
	db #df,#df,#ff,#55,#ff,#ff,#55,#ff
	db #55,#ff,#ff,#ff,#cf,#8a,#ff,#ff
	db #ff,#ff,#8a,#ff,#ff,#ef,#cf,#ef
	db #cf,#df,#55,#ff,#ff,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#54,#5f,#ff,#ff,#ff,#ff
	db #ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff
	db #ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff
	db #ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff
	db #ff,#ff,#ff,#ff,#ff,#ff,#ff,#ff
	db #ff,#ff,#ff,#ff,#0f,#a8,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#44,#e0,#18,#ba,#48
	db #e4,#00,#88,#e0,#88,#00,#c8,#a0
	db #88,#88,#e0,#18,#ba,#48,#a0,#88
	db #88,#e0,#18,#ba,#48,#a0,#88,#88
	db #e0,#88,#00,#c8,#a0,#88,#88,#e0
	db #18,#ba,#48,#a0,#88,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#aa,#e0,#00,#00,#40
	db #a0,#aa,#aa,#e0,#aa,#00,#ea,#a0
	db #aa,#aa,#e0,#aa,#00,#00,#00,#00
	db #aa,#e0,#18,#ba,#48,#c8,#00,#aa
	db #e0,#aa,#00,#ea,#a0,#aa,#aa,#e0
	db #aa,#00,#ea,#a0,#aa,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#44,#48,#18,#ba,#48
	db #e4,#00,#88,#e0,#18,#ba,#48,#a0
	db #88,#88,#e0,#18,#ba,#48,#a0,#88
	db #88,#e0,#88,#00,#c8,#a0,#88,#88
	db #e0,#18,#ba,#48,#a0,#88,#88,#e0
	db #88,#00,#c8,#a0,#88,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #54,#a8,#00,#00,#fc,#00,#00,#00
	db #fc,#a8,#fc,#a8,#fc,#a8,#a8,#a8
	db #00,#00,#fc,#a8,#a8,#a8,#54,#00
	db #fc,#a8,#a8,#a8,#a8,#00,#a8,#a8
	db #fc,#a8,#fc,#a8,#fc,#a8,#fc,#a8
	db #00,#00,#fc,#a8,#54,#00,#fc,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#88,#88
	db #cc,#88,#cc,#88,#00,#00,#88,#88
	db #cc,#88,#cc,#88,#88,#88,#44,#00
	db #cc,#88,#00,#00,#88,#88,#cc,#88
	db #cc,#88,#cc,#88,#88,#88,#44,#00
	db #cc,#88,#cc,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#aa,#00,#aa,#aa,#ff,#aa
	db #ff,#00,#ff,#aa,#ff,#aa,#ff,#aa
	db #ff,#00,#00,#00,#ff,#00,#55,#00
	db #00,#00,#ff,#aa,#ff,#aa,#ff,#aa
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#2a,#00
	db #2a,#2a,#3f,#2a,#3f,#2a,#2a,#2a
	db #2a,#2a,#2a,#2a,#00,#00,#00,#00
	db #82,#82,#c3,#82,#82,#82,#82,#82
	db #00,#00,#c3,#82,#82,#82,#c3,#82
	db #82,#82,#c3,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#01
	db #01,#01,#00,#02,#00,#02,#01,#01
	db #01,#00,#00,#82,#82,#82,#82,#82
	db #82,#82,#82,#00,#00,#82,#82,#82
	db #82,#82,#82,#82,#82,#41,#00,#82
	db #00,#82,#82,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#a8,#a8,#a8,#a8,#a8,#a8
	db #a8,#00,#a8,#a8,#54,#00,#a8,#00
	db #00,#a8,#54,#00,#00,#00,#88,#00
	db #88,#88,#88,#00,#88,#88,#88,#88
	db #44,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#20,#20,#20,#20,#00,#20
	db #10,#00,#20,#00,#10,#00,#00,#00
	db #2a,#2a,#2a,#2a,#2a,#00,#2a,#00
	db #2a,#00,#00,#00,#2a,#2a,#2a,#2a
	db #15,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
.lb604 equ $ + 4
	db #00,#00,#00,#00,#00,#06,#0b,#b7
	db #00,#0c,#01,#01,#01,#01,#08,#60
	db #14,#64,#04,#68,#04,#64,#08,#60
	db #08,#64,#08,#68,#0c,#5a,#0c,#5e
	db #08,#60,#08,#68,#18,#72,#04,#68
	db #04,#64,#08,#60,#08,#68,#08,#72
	db #04,#68,#04,#64,#08,#60,#08,#68
	db #08,#72,#04,#68,#04,#64,#08,#60
	db #08,#5e,#08,#5a,#08,#56,#08,#52
	db #08,#50,#08,#4c,#08,#48,#18,#4c
	db #04,#50,#04,#4c,#08,#48,#08,#4c
	db #08,#50,#0c,#42,#0c,#46,#08,#48
	db #08,#50,#18,#5a,#04,#50,#04,#4c
	db #08,#48,#08,#50,#08,#5a,#04,#50
	db #04,#4c,#08,#48,#08,#50,#08,#5a
	db #04,#50,#04,#4c,#08,#48,#08,#46
	db #08,#42,#08,#3e,#08,#3a,#08,#38
	db #08,#34,#08,#32,#18,#34,#04,#38
	db #04,#34,#08,#30,#08,#34,#08,#38
	db #0c,#2a,#08,#5a,#08,#5a,#0c,#5a
	db #08,#5a,#08,#5a,#04,#5a,#08,#fe
.lb6ab equ $ + 3
	db #08,#00,#03,#58,#0c,#5a,#0c,#62
	db #28,#5a,#0c,#5e,#0c,#64,#28,#00
.lb6b9 equ $ + 1
	db #03,#58,#0c,#5a,#0c,#62,#28,#5a
	db #0c,#5e,#0c,#68,#20,#64,#08,#80
	db #08,#80,#0c,#78,#04,#72,#04,#6c
	db #08,#6c,#08,#6c,#04,#6e,#08,#72
	db #08,#80,#08,#80,#0c,#78,#04,#72
	db #04,#6c,#08,#6c,#08,#6c,#04,#6e
	db #08,#72,#08,#00,#03,#0b,#00,#0b
	db #08,#0a,#08,#08,#08,#05,#08,#02
.lb6fc equ $ + 4
	db #08,#00,#08,#ff,#0a,#01,#0d,#08
	db #0c,#08,#09,#08,#09,#08,#09,#08
	db #08,#08,#ff,#07,#08,#08,#08,#0a
	db #08,#0b,#08,#0a,#08,#0a,#08,#09
	db #08,#09,#08,#09,#08,#09,#08,#09
	db #08,#09,#08,#04,#08,#04,#08,#09
	db #08,#09,#08,#07,#08,#07,#08,#06
	db #08,#06,#08,#05,#08,#05,#08,#05
	db #08,#05,#08,#04,#08,#ff,#0a,#00
	db #09,#00,#09,#01,#09,#01,#08,#01
	db #07,#01,#07,#01,#06,#01,#05,#01
	db #04,#01,#03,#01,#03,#01,#03,#01
	db #02,#01,#01,#01,#ff,#08,#01,#00
	db #01,#ff,#54,#55,#52,#4e,#20,#44
	db #49,#53,#4b,#20,#4f,#56,#45,#52
	db #20,#41,#4e,#44,#20,#50,#52,#45
	db #53,#53,#20,#41,#4e,#59,#20,#4b
	db #45,#d9
	
.l13fd
	db &00

;
.init_music
;
	ld (l8604),a
	jp real_init_music

;	ld a,0	; (1 to stop!)
;	ld (l8605),a
	;ld a,1
	;ld (l8604),a	; theme number = 1
;	call init_music	; 1 -> 1 

; org #0124
; ld a,#01
; ld (#8605),a
; call #8f8b
	
;
.game_name
	db "Turbo Out Run",0
.game_year
	db "1989",0
.game_publisher
	db "Sega",0
.music_author
	db "Uncle Art",0
.music_comment
	db "",0

	read "music_end_v1_0.asm"
